.c-body
  //- 加载中
  .loadding(:class="loaddingClass")
    .load-txt 加载数据中...
    .load-ico

  //- 加载失败
  .loaded-fail(:class="loadedFailClass") {{loadedFail}}

  //- 加载成功
  div(:class="loadedSuccClass")
    //- 登录页面内容
    .c-content
      //- 导航条
      .bread-nav
        .crumbs
          router-link(to='/') 首页 >
          span &nbsp;&nbsp;用户登录

      //- 登录操作提示
      c-top-tips(:top-tips-option="topTipsOption")

      .c-reg-tips
        span 没有账号？
        a(href='javascript:void' @click='doReg()') 立即注册

      //- 登录表单
      form.pure-form.c-login-form(autocomplete="off")
        fieldset
          .c-login-title
            span ——
            h2 用户登录
            span ——
          .pure-control-group.c-login-name
            div(v-bind:class="{'err-border':errorType==1}")
              span
              input(type="text" v-model="user.account" placeholder="手机号码/用户名/邮箱" @focus.stop.prevent='errorType=0')
          .pure-control-group.c-login-pwd
            div(v-bind:class="{'err-border':errorType==2}")
              span
              input(type="password" v-model="user.pwd" placeholder="密码" @focus.stop.prevent='errorType=0')
          .pure-control-group.c-login-captcha
            div.c-captch(v-bind:class="{'err-border':errorType==3}")
              span
              input(type="text" v-model="captchaVal" placeholder="验证码" @focus.stop.prevent='errorType=0')
              img.c-vcode-img(v-bind:src="captchaSrc" @click.stop.prevent="refreshCaptcha()")
          .pure-controls
            button.pure-button.pure-button-primary(type="none" @click.stop.prevent="doLogin();") 登录